package view;

import controller.Controller;
import model.DataSource;

import javax.swing.*;
import java.awt.*;

public class GameCountJPanel extends JPanel {
    private Controller controller;
    public JLabel soutNameCountJLabel;
    public JLabel eastNameCountJLabel;
    public JLabel westNameCountJLabel;
    public GameCountJPanel(Controller controller){
        this.controller=controller;
        setPreferredSize(new Dimension(1200, 800));
        setLayout(null);
    }

    @Override
    protected void paintComponent(Graphics g) {
        g.drawImage(DataSource.gameBackGround, 0, 0, 1200, 800, null);
    }
}

